/*******************************************************************************
 * 
 * Copyright:
 * 
 * License:
 * 
 * Authors:
 * 
 ******************************************************************************/

/*******************************************************************************
 * 
 * #asset(ui/*)
 * 
 ******************************************************************************/

/**
 * This is the main application class of your custom application "ui"
 */
qx.Class.define("ui.Application", {
			extend : qx.application.Standalone,

			/*
			 * ****************************************************************************
			 * MEMBERS
			 * ****************************************************************************
			 */

			members : {
				/**
				 * This method contains the initial application code and gets
				 * called during startup of the application
				 * 
				 * @lint ignoreDeprecated(alert)
				 */
				main : function() {
					this.base(arguments);

					if (qx.core.Environment.get("qx.debug")) {
						qx.log.appender.Native;
						qx.log.appender.Console;
					}
					this.__loginWindow = new ui.view.LoginWindow();
					this.__loginWindow.open();
				}
			}
		});
